package com.minglead.springboot.platform.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.minglead.springboot.common.persistence.CrudDao;
import com.minglead.springboot.common.persistence.TreeDao;
import com.minglead.springboot.platform.sys.entity.Dict;
import com.minglead.springboot.common.crud.annotation.MyBatisDao;

/**
 * 字典DAO接口
 */
@MyBatisDao
public interface DictDao extends CrudDao<Dict> {

	public List<String> findTypeList(Dict dict);
	
	public Dict getEntityByTypeAndValue(@Param("type")String type,@Param("value")String value);
	
	public Dict getEntityByTypeAndLabel(@Param("type")String type,@Param("label")String label);
	
}
